package com.hst.capacity.domain.service;

import com.hst.capacity.domain.model.entity.driver.DriverEntity;
import com.hst.capacity.domain.model.entity.franchisee.AgentEntity;
import com.hst.capacity.domain.model.request.agent.AgentSaveParam;
import com.hst.capacity.domain.model.request.driver.DriverAddParam;

public interface AgentService {

    /**
     * 保存/更新代理商信息
     * @param param
     * @return
     */
    AgentEntity save(AgentSaveParam param);

    /**
     * 检查电话是否已经注册
     * @param param
     * @return
     * */
    boolean checkTel(AgentSaveParam param);

}
